package com.wkh.project.payment.navivepay.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author wangkehua
 */
@lombok.Data
@JsonIgnoreProperties(ignoreUnknown = true)// 忽略未知属性
public class PrepayResponse {
    private Long code;
    private Data data;
    private String msg;
    @JsonProperty("request_id")
    private String requestId;

    @lombok.Data
    @JsonIgnoreProperties(ignoreUnknown = true)// 忽略未知属性
    public static class Data {
        @JsonProperty("code_url")
        private String codeUrl;
        @JsonProperty("QRcode_url")
        private String qrcodeUrl;
    }

}
